package com.jdz.noise.exceptions;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * sphere  异常类
 */
public class SphereException extends RuntimeException{
    private static final Logger logger=LoggerFactory.getLogger(SphereException.class);
    public SphereException() {
    }

    public SphereException(String message) {
        super(message);
        logger.info(message);
    }

    public SphereException(String message, Throwable cause) {
        super(message, cause);
        logger.info(message);
    }

    public SphereException(Throwable cause) {
        super(cause);
    }

    public SphereException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
        logger.info(message);
    }
}
